import gulp from 'gulp';
import gulpif from 'gulp-if';
import livereload from 'gulp-livereload';
import args from './util/args';


gulp.task('pages',()=>{
    //这个就是app目录下,不管什么层级都会被选中
   return gulp.src('app/**/*.ejs')
       .pipe(gulp.dest('server'))
       .pipe(gulpif(args.watch,livereload()))
});










